<!DOCTYPE html>  
<html>  
<head>  
    <title></title>  
    <meta charset="UTF-8">  
    <style>
	body{height:1000px;}
	table{position:absolute; left:200px;table-layout: fixed;}
	 
	  ::-webkit-scrollbar              { border:solid 1px #F00;}
      ::-webkit-scrollbar-button       { /* 2 */ }
      ::-webkit-scrollbar-track        { /* 3 */ }
      ::-webkit-scrollbar-track-piece  { /* 4 */ }
      ::-webkit-scrollbar-thumb        { /* 5 */ }
      ::-webkit-scrollbar-corner       { /* 6 */ }
      ::-webkit-resizer                { /* 7 */ }
	 

	</style>
</head>  
  
<body class="test">  
     <div id="con"  class="container">  
        <div id="2">    
        <table border="1" class="table ">  
        <thead style=" border-bottom:1px solid #eee;">  
                <tr>  
                    <th>栏目一</th>  
                    <th>栏目二</th>  
                    <th>栏目三</th>  
                    <th>栏目一</th>  
                    <th>栏目二</th>  
                    <th>栏目三</th>  
                </tr>  
            </thead>  
            <tbody style="display:block; max-height:100px;overflow-y: scroll; ">  
                <tr>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                </tr>  
                <tr>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                </tr>  
                <tr>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                </tr>  
                <tr>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                </tr>  
                <tr>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                </tr>  
                <tr>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                </tr>  
                <tr>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                </tr>  
                <tr>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                    <td>星期一</td>  
                    <td>星期二</td>  
                    <td>星期三</td>  
                </tr>  
            </tbody>  
        </table>  
        </div>  
    </div>
</body>  
  
</html> 